<?php

class Parking{
	
	private $id;
	private $name;
	
	function Parking($id, $name){
		$this->id = $id;
		$this->name = $name;
	}
	
	function salve(){
		$sql= "INSERT INTO parking (id,name) VALUES ('".$this->id."','".$this->name."');";
		mysql_query($sql);
	}
}
	
?>